package ru.spbsu.electromenu.storage;

import ru.spbsu.electromenu.model.Order;

import java.util.List;

/**
 * Date: 3/22/11
 * Time: 10:48 PM
 *
 * @author Artem Titov
 */
public interface OrderStorage extends Storage<Order> {
    List<Order> getConfirmed(boolean confirmed);

    public int deleteOrderedDish(final int orderId, final int dishId, final int amount);

    int confirm(final int orderId, final boolean confirm);
}
